package ModelLayer;

public class SalesProducts {
    
    //instance variables 
    private int saleID;
    private Product product;
    private int quantity;
    
    public SalesProducts() {
        
    }
    public SalesProducts(Product product, int quantity){
        this.quantity = quantity;
        this.product = product;
    }
    public SalesProducts(int saleID, Product product, int quantity)
    {
        this.saleID = saleID;
        this.product = product;
        this.quantity = quantity;
    }
    //set methods
    public void setSaleID(int saleID)
    {
        this.saleID = saleID;
    }
    public void setProduct (Product product)
    {
        this.product = product;
    }
    public void setQuantity (int quantity)
    {
    	this.quantity = quantity;
    }
    //get method
    public int getSaleID()
    {
        return saleID;
    }
    public Product getProduct()
    {
        return product;
    }
    public int getQuantity()
    {
    	return quantity;
    }
}
    
   
